package com.demo.fork.demo1;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Objects;

/**
 * @Author: tomato
 * @Date: 2020/10/15 14:25
 */
@Data
public class ScrmEmployeeMappingDO {

    private Long id;

    /**
     * crm
     */
    private Long crmEmployeeId;

    /**
     * scrm
     */
    private Long employeeId;

    private String employeeName;

    private Integer datasource;

    public boolean hasMapping() {
        return Objects.nonNull(this.employeeId);
    }
}
